//
//  CustomStarView.h
//  DebugDemo
//
//  Created by XFB on 2019/1/9.
//  Copyright © 2019年 ZhouCheng. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^CustomStarViewGradeBlock)(NSInteger grade, NSString *gradeString);

@interface CustomStarView : UIView

- (instancetype)initWithFrame:(CGRect)frame
              normalImageName:(NSString *)normalImageName
              selectImageName:(NSString *)selectImageName;

@property (nonatomic, assign) NSInteger grade;
@property (nonatomic, copy) NSString *gradeString;

@property (nonatomic, copy) CustomStarViewGradeBlock gradeBlock;

@end

NS_ASSUME_NONNULL_END
